package com.weather.net;

import com.weather.bean.AccurealFeel;
import com.weather.bean.AccurealFeelResult;
import com.weather.bean.AppIndexAll;
import com.weather.bean.IndexIcon;
import com.weather.bean.KeyWord;
import com.weather.bean.MinuteNew;
import com.weather.bean.Yinpin;
import com.weather.bean.YinpinResult;

import java.util.List;
import java.util.Map;

import retrofit2.http.GET;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * Created by sunshine on 2017/3/7.
 */

public interface IApi {
    @GET("minutenew/?")
    Observable<MinuteNew> getMinuteNew(@QueryMap() Map<String,String> map);
    @GET("accurealfeel/?")
    Observable<AccurealFeel<List<AccurealFeelResult>>> getAccurealFeel(@QueryMap() Map<String,String> map);
    @GET("appindexall/?")
    Observable<AppIndexAll<List<IndexIcon>>> getAppIndexAll(@QueryMap() Map<String,String> map);
    @GET("appyinpin/?")
    Observable<Yinpin<List<YinpinResult>>> getYinpin(@QueryMap() Map<String,String> map);
    @GET("keywordnew/?")
    Observable<List<KeyWord>> getkeywordnew(@QueryMap() Map<String,String> map);
}
